package com.xingbang.dao;
import com.xingbang.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
public interface UserMapper {
	int deleteByPrimaryKey(Long userid);
	int insert(User record);
	int insertSelective(User record);
	User selectByPrimaryKey(Long userid);
	int updateByPrimaryKeySelective(User record);
	int updateByPrimaryKey(User record);
	/**
	 * select
	 * @param userIdList List<Integer>
	 * @return List<Map<Object, Object>>
	 */
	List<Map<Object, Object>> select(@Param("userIdList") List<Integer> userIdList);
	List<User> selectAll();
}
